<?php // Latest news feature ?>
<script type="text/javascript"><!--
// Autorefresh functionality (needs Jquery!!)
// 10 seconds interval
setInterval( "getProduct()", 10000 ); 
$(function() {
		getProduct = function() {
			$.ajaxSetup ({
				cache: true
			});			

			var loadUrl = "index.php?route=module/newsfeed/randomNews";				
			$("#latest_news").load(loadUrl);				
		}
	}
)//--></script>
<div id="newsfeed">
	<div id="newsfeed_label"><?php echo $text_latest_news; ?></div>	
	<div id="latest_news">
		<?php if (isset($latest_news)) {	
			echo $latest_news;
				} ?>
	</div>
</div>
